package com.authsystem.entity;

import lombok.Data;

import java.awt.*;
import java.time.LocalDateTime;
import java.util.List;

@Data
public class User {
    private Long id;
    private String loginname;
    private String password;
    private String name;
    private String email;
    private String mobilephone;
    private Integer status;
    private Integer sex;
    private String address;
    private String tel;
    private LocalDateTime createTime;
    private String createUser;
    private LocalDateTime updateTime;
    private String updateUser;
    private Integer version;

    // 关联属性
    private List<Role> roles;
    private List<Menu> menus;
}